<%--
  Created by IntelliJ IDEA.
  User: hasee
  Date: 2021/11/14
  Time: 18:18
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>个人信息</title>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/table.css">
    <style type="text/css">
        body {
            background-image: url("${pageContext.request.contextPath}/images/background.jpeg");
            background-size: 100%, 100%;
        }

        .h4 {
            position: fixed;
            left: 10%;
        }

        .a {
            position: fixed;
            top: 50%;
            left: 10%;
        }

        .button {
            font-weight: bold;
            font-size: large;
            text-align: center;
            width: auto;
            height: auto;
            background: orange;
        }
    </style>
</head>
<body>
<header style="height: 40px">
    <%@ include file="../common/head.jsp" %>
</header>
<div>
    <h4 class="h4">请确认您的个人信息：</h4>
    <table class="table">
        <tr>
            <td>
                学号：
            </td>
            <td>
                ${sessionScope.studentSession.id}
            </td>
        </tr>
        <tr>
            <td>
                姓名：
            </td>
            <td>
                ${sessionScope.studentSession.studentName}
            </td>
        </tr>
        <tr>
            <td>
                所属系：
            </td>
            <td>
                ${sessionScope.studentSession.department}
            </td>
        </tr>
        <tr>
            <td>
                年级：
            </td>
            <td>
                ${sessionScope.studentSession.grade}
            </td>
        </tr>
        <tr>
            <td>
                班级
            </td>
            <td>
                ${sessionScope.studentSession.className}
            </td>
        </tr>
        <tr>
            <td>
                参加比赛
            </td>
            <td>
                ${sessionScope.competitionName}
            </td>
        </tr>
    </table>
    <a class="a" href="${pageContext.request.contextPath}/jsp/student/changePwd.jsp">
        <input type="button" value="修改密码" class="button">
    </a>
</div>
<footer style="height: 30px">
    <%@ include file="../common/foot.jsp" %>
</footer>
</body>
</html>
